package model

import "jgt-oper/src/schema"

// IContactsBook 通讯录接口
type IContactsBook interface {
	GetTotal(string) (int, error)
	GetAllColleagues(string, string) ([]*schema.QueryResultColleagues, error)
	GetAllFrequentlyUsed(string, uint, uint) ([]*schema.User, error)
	AddFrequentlyUsed(string, string) error
	CancelFrequentlyUsed(string, string) error
	GetColleaguesDetail([]string) ([]*schema.UserItemDetail, error)
	GetMyFrequentlyUsed(string) (*schema.ContactsBook, error)
}
